package com.springboot.cloud.seckill;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * @author godyao
 * @date 2022/3/26
 */
@EnableDiscoveryClient
@EnableJpaRepositories(basePackages = { "com.springboot.cloud.seckill.dao" })
@EntityScan(basePackages = { "com.springboot.cloud.seckill.entity" })
@SpringBootApplication(scanBasePackages = "com.springboot.cloud.seckill")
public class SeckillApplication {
    public static void main(String[] args) {
        SpringApplication.run(SeckillApplication.class, args);
    }
}
